import request from '@/utils/request'

const path = '/usage/history'

export function fetchList(query) {
  return request({
    url: path,
    method: 'get',
    params: query
  })
}

export function createUsageHistory(data) {
  return request({
    url: path,
    method: 'post',
    data
  })
}
